import java.util.Random;
import java.util.Scanner;

public class HomeWorkDemo01 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        Random random = new Random();
        int i = random.nextInt(101);
        int min = 0;// 最小值
        int max = 100;// 最大值
        int count = 0;// 次数
        for (; ; ) {
            count += 1;
            System.out.println("请输入你猜的数字：" + min + "-" + max);
            int i1 = scanner.nextInt();
            if (i == i1) {
                System.out.println("猜对了");
                break;
            } else if (i1 > i) {
                System.out.println("猜大了");
                max = i1 - 1;
            } else {
                System.out.println("猜小了");
                min = i1 + 1;
            }
        }
        if (count == 1) {
            System.out.println("牛逼Plus");
        } else if (count >= 2 && count <= 4) {
            System.out.println("给我的感觉一般");
        } else {
            System.out.println("小菜比");
        }


    }
}
